package com.alibaba.entity;

import java.sql.Timestamp;

/**
 * Users entity. 
 * @author kinglcc 
 */

public class Users implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String userName;
	private String passWord;
	private String email;
	private Timestamp registryDate;

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** minimal constructor */
	public Users(String userName, String passWord) {
		this.userName = userName;
		this.passWord = passWord;
	}

	/** full constructor */
	public Users(String userName, String passWord, String email,
			Timestamp registryDate) {
		this.userName = userName;
		this.passWord = passWord;
		this.email = email;
		this.registryDate = registryDate;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return this.passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Timestamp getRegistryDate() {
		return this.registryDate;
	}

	public void setRegistryDate(Timestamp registryDate) {
		this.registryDate = registryDate;
	}
}